<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<p><?php echo $form->label($model,'goods_name'); ?></p>
		<p><?php echo $form->textField($model,'goods_name',array('size'=>60,'maxlength'=>60)); ?></p>
	</div>

	<div class="row">
		<p><?php echo $form->label($model,'goods_price'); ?></p>
		<p><?php echo $form->textField($model,'goods_price',array('size'=>10,'maxlength'=>10)); ?></p>
	</div>

	<div class="row">
		<p><?php echo $form->label($model,'goods_discount'); ?></p>
		<p><?php echo $form->textField($model,'goods_discount',array('size'=>3,'maxlength'=>3)); ?></p>
	</div>

	<div class="row">
		<p><?php echo $form->label($model,'goods_type_name'); ?></p>
		<p><?php echo $form->textField($model,'goods_type_name',array('size'=>60,'maxlength'=>60)); ?></p>
	</div>

	<div class="row">
		<p><?php echo $form->label($model,'average_score'); ?></p>
		<p><?php echo $form->textField($model,'average_score',array('size'=>2,'maxlength'=>2)); ?></p>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->